<template>
  <div class="LoginBtn">
    <van-button round type="danger" @click="registerClick">{{ btntext }}</van-button>
  </div>
</template>

<script>
export default {
  props: ['btntext'],
  data() {
    return {}
  },
  methods: {
    registerClick() {
      this.$emit("registerClick")
    }
  }
};
</script>

<style lang="less" scoped>
.LoginBtn {
  display: flex;
  justify-content: space-around;
  margin: 4vw 0;
  .van-button {
    width: 29.333vw;
  }
}
</style>